package com.jihui.enterprise.domain.model;

import com.jihui.enterprise.AbcEnterprise;
import org.jetbrains.annotations.Nullable;

/**
 * ${DESCRIPTION}
 *
 * @author 王进
 * @since 2017-09-18 16:17
 **/
public interface EnterpriseRepository {

    /**
     * 通过ID查找用户
     *
     * @param userId 用户账户
     * @return 返回账户
     */
    @Nullable
    AbcEnterprise findByUserId(String userId);

}
